import { createApp } from "vue";
import "./style.css";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import App from "./App.vue";
import "virtual:svg-icons-register";
import globalComponents from "@/components";
import "@/styles/index.scss";
import router from "@/router";
import pinia from "@/store";

const app = createApp(App);

app.use(ElementPlus, {
  locale: zhCn,
});
app.use(globalComponents);
app.use(router);
app.use(pinia);
app.mount("#app");
